package com.vision.sales.cm.data;

import java.io.Serializable;

/**
 * 
 * @author Mark
 *
 */
public class MonthlyTotalsItem implements Serializable {

	private static final long serialVersionUID = 1933709181826545803L;
	
	private String transaction;
	
	private double total;
	
	private double average;
	
	private double minimum;
	private double maximum;
	
	MonthlyTotalsItem() {} // For Serializable
	
	public MonthlyTotalsItem(String transaction, double total, double average) {
		this(transaction, total, average, 0, 0);
	}
	
	public MonthlyTotalsItem(String transaction, double total, double average, double minimum, double maximum) {
		this.transaction = transaction;
		this.total = total;
		this.average = average;
		this.minimum = minimum;
		this.maximum = maximum;
	}

	public String getTransaction() {
		return transaction;
	}

	public void setTransaction(String item) {
		this.transaction = item;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public double getAverage() {
		return average;
	}

	public void setAverage(double average) {
		this.average = average;
	}

	public double getMinimum() {
		return minimum;
	}

	public void setMinimum(double minimum) {
		this.minimum = minimum;
	}

	public double getMaximum() {
		return maximum;
	}

	public void setMaximum(double maximum) {
		this.maximum = maximum;
	}
	
}
